package com.crazy.crazyproductservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crazy.crazymodel.model.entity.NetWorth;
import com.crazy.crazymodel.model.vo.ProductNetWorthVO;

import javax.servlet.http.HttpServletRequest;

/**
 * NetWorthService 净值
 *
 * @author 13259
 * @version 2024/05/08 03:26
 **/
public interface NetWorthService extends IService<NetWorth> {
    /**
     * 获取产品净值走势
     *
     * @param productId 产品主键
     * @param request       HTTP请求对象
     * @return 脱敏后的净值信息
     */
    ProductNetWorthVO productGetValue(int productId, HttpServletRequest request);

}
